import request from '@/utils/request'

// 查询社保对账单列表
export function listScscBill(query) {
  return request({
    url: '/hr/scscBill/list',
    method: 'get',
    params: query
  })
}

// 查询社保对账单详细
export function getScscBill(id) {
  return request({
    url: '/hr/scscBill/' + id,
    method: 'get'
  })
}

// 新增社保对账单
export function addScscBill(data) {
  return request({
    url: '/hr/scscBill',
    method: 'post',
    data: data
  })
}

// 修改社保对账单
export function updateScscBill(data) {
  return request({
    url: '/hr/scscBill',
    method: 'put',
    data: data
  })
}

// 删除社保对账单
export function delScscBill(id) {
  return request({
    url: '/hr/scscBill/' + id,
    method: 'delete'
  })
}
